Fix vmx guest issue of allowing accessing supervisor page
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 29 Nov 2005 10:48:33 +0000 (11:48 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 29 Nov 2005 10:48:33 +0000 (11:48 +0100)
commit9cb8877a0e6eec0445d57ea9c48a3290aa2fb798
treeb346cfa29cea17d029e9a3faa0071911d3bd06ac
parent13f24179796f39a1b0f9d4cc0f3ec621a96e770f
Fix vmx guest issue of allowing accessing supervisor page
from user level program.
In shadow fault, we need to check U/S bit in error code.
It is just a fix for shadow32.c, for x86_64 code and
public code, it is already handled.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
xen/arch/x86/shadow32.c